const app = {
  state: {
    keepAlivePages: [],
    isBack: false,
    token: ''
  },

  mutations: {
    SET_KEEPALIVEPAGES: (state, pages) => {
      state.keepAlivePages = pages
    },
    SET_ISBACK: (state, flag) => {
      state.isBack = flag
    }
  }
}

export default app
